import {createAppContainer} from 'react-navigation';
import {createStackNavigator} from 'react-navigation-stack';
import {HomeScreen, DetailsScreen, Webview, Login} from './app/views';

const AppNavigator = createStackNavigator(
  {
    Home: HomeScreen,
    Details: DetailsScreen,
    Webview: Webview,
    Login: Login,
  },
  {
    initialRouteName: 'Home',
  },
);

export default createAppContainer(AppNavigator);
